package org.devocean.groupbuying.utils;

import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.devocean.groupbuying.domain.Customer;
import org.springframework.security.core.Authentication;
import org.springframework.security.web.authentication.AuthenticationSuccessHandler;

public class Test {

	public Test() {
		Customer c = new Customer();
		c.setUserName("Youssef");
		System.out.println("before method call " + c);
		modify(c);
		System.out.println("after method call " + c);
	}

	private void modify(Customer c) {
		c.setState("Oklahoma");

	}

	public static void main(String[] args) {
		new Test();
	}

}
